package com.itrh.org.mapper;

import com.itrh.base.mapper.BaseMapper;
import com.itrh.org.domain.Department;
import com.itrh.org.query.DepartmentQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * InterfaceName: DepartmentMapper
 *
 * @author XHU_WHY
 * @version V1.0
 * @since 2024/3/29 11:46
 */
@Mapper
public interface DepartmentMapper extends BaseMapper<Department> {
    List<Department> getTree();

    Department selectByName(String name);
}
